package com.wk.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 运费模板
 * </p>
 *
 * @author wk
 * @since 2020-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wms_feight_template")
public class FeightTemplate implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * name
     */
    private String name;

    /**
     * 计费类型【0->按重量，1->按件数】
     */
    private Integer chargeType;

    /**
     * 首重
     */
    private BigDecimal firstWeight;

    /**
     * 首费
     */
    private BigDecimal firstFee;

    /**
     * 续重
     */
    private BigDecimal continueWeight;

    /**
     * 续费
     */
    private BigDecimal continueFee;

    /**
     * 目的地
     */
    private Long dest;


}
